/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ticketManager.model;

import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;

/**
 *
 * @author luchenyuxx
 */
@Entity
@PrimaryKeyJoinColumn(name="TWOROLESEVENT_ID")
public class CreateProblemEvent extends TwoRolesEvent{

    public CreateProblemEvent() {
    }

    @Override
    public String toString() {
        return super.getOperator().userName+" created problem "+super.getTarget().title+" at "+date.toString();
    }
    
}
